package com.zfj.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zfj.common.utils.PageUtils;
import com.zfj.gulimall.ware.entity.WareSkuEntity;
import com.zfj.gulimall.ware.vo.SkuHasStcokVo;

import java.util.List;
import java.util.Map;

/**
 * 商品库存
 *
 * @author zhangfujing
 * @email zfjcontrolling@163.com
 * @date 2022-05-21 22:20:31
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(Map<String, Object> params);

	void addStock(Long skuId, Long wareId, Integer skuNum);

	List<SkuHasStcokVo> getSkuHasStock(List<Long> skuIds);
}

